import turtle

# turtle.showturtle()
"""
turtle.hideturtle()
turtle.write("Hello, Tony!")
turtle.width(20)
turtle.color("red")
turtle.penup()
turtle.forward(300)
turtle.pendown()
turtle.circle(50)
turtle.penup()
turtle.goto(50, 50)
turtle.pendown()
turtle.circle(50)
turtle.done()
# 同心圆
p = turtle.Pen()
# radius = [10, 20, 30, 40, 50]
radius = [x*10 for x in range(1,12)]
my_colors = ("red", "green", "yellow", "black")
for r, i in zip(radius, range(len(radius))):
    p.penup()
    p.goto(0,-r)
    p.pendown()
    p.color(my_colors[i%len(my_colors)])
    p.circle(r)

turtle.done()
"""

# 棋盘
lines = [x*20 for x in range(1,12)]
p = turtle.Pen()
p.hideturtle()
for i in lines:
    p.penup()
    p.goto(-350,330-i)
    p.pendown()
    p.goto(350,330-i)
turtle.done()